var runtime.numCPUStartup
10 uses
runtime (current package)
debug.go#L155: return int(numCPUStartup)
heapdump.go#L547: dumpint(uint64(numCPUStartup))
lock_spinbit.go#L178: if numCPUStartup > 1 {
mgc.go#L822: if work.stwprocs > numCPUStartup {
mgc.go#L825: work.stwprocs = numCPUStartup
os_linux.go#L354: numCPUStartup = getCPUCount()
proc.go#L934: procs = defaultGOMAXPROCS(numCPUStartup)
proc.go#L7944: if i >= active_spin || numCPUStartup <= 1 || gomaxprocs <= sched.npidle.Load()+sched.nmspinning.Load()+1 {
runtime2.go#L1405: numCPUStartup int32
vgetrandom_linux.go#L50: num := uintptr(numCPUStartup) // Just a reasonable size hint to start.
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |